<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/music.css"></link>
<title>查看清单</title>
</head>
<style>
table {
	background-color: rgba(0, 0, 0, 0.25);
	box-shadow: 0px 0px 3px 1px black;
	margin-bottom: 20px;
}
</style>
<body>
	<div id="wrapper">
		<jsp:include page="./header.jsp"></jsp:include>
		<div id="address">
			<a>当前位置： 查看清单</a>
		</div>
		<div id="box">
			<div class="shengming" align="center">
				<h4>&nbsp;</h4>
				<a>您的清单信息!</a>
			</div>
		</div>
		<div id="shopcart">
			<table width="890" align="center">
				<tr height="30">
					<th>用户名</th>
					<th>班级</th>
					<th>地址</th>
					<th>联系人</th>
					<th>电话</th>
					<th>总价</th>
					<th>购物时间</th>
					<th>查看详情</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${requestScope.list}" var="shop">
					<tr height="30">

						<td><div align="center">${shop.user}</div></td>
						<td><div align="center">${shop.class1}</div></td>
						<td><div align="center">${shop.address}</div></td>
						<td><div align="center">${shop.contact}</div></td>
						<td><div align="center">${shop.phone}</div></td>
						<td><div align="center">${shop.totalprice}</div></td>
						<td><div align="center">${shop.date}-${shop.time}</div></td>
						<td><div id="text_link1" align="center">
								<a href="checklistgoods.do?date=${shop.date}&time=${shop.time}">查看</a>
							</div></td>
						<td><div id="text_link1" align="center">
								<a href="deletelist.do?date=${shop.date}&time=${shop.time}">删除</a>
							</div></td>
					</tr>
				</c:forEach>
			</table>
			<div id="text_link" align="center">
				<a href="showallgoods.do?cond=all">返回吉他小店</a>
			</div>
		</div>
		<div id="button_bg"></div>
		<div id="line2"></div>
		<div id="copyright">
			<a>&copy;版权所有:蓝调吉他社 </a><a>| </a>
			<div id="admin">
				<a href="houtai_index.jsp">管理员登录</a>
			</div>
		</div>
	</div>
</body>
</html>